import Vue from 'vue'
import App from './App.vue'
import Vant from 'vant'
import 'vant/lib/index.css'
import router from '@/router'
import lodash from 'lodash'
import store from '@/store'
import { Lazyload, Notify } from "vant"
import 'amfe-flexible'
import waterfall from 'vue-waterfall2'
// 全局引入瀑布流组件
Vue.use(waterfall);
import treeSelect from './components/treeSelect.vue'
import payment from './components/payment.vue'
Vue.config.productionTip = false
// 全局引入vant组件
Vue.use(Lazyload)
Vue.prototype.lodash = lodash
Vue.use(Notify)
Vue.use(Vant);
Vue.component('TreeSelect', treeSelect)
Vue.component('payment', payment)
new Vue({
    mounted() {
        this.$notify('提示文案');
    },
    render: h => h(App),
    router,
    store
}).$mount('#app')
